﻿using Codeflows.Results;
using Codeflows.Tracking;

namespace Codeflows.Dispatch.ResultHandlers
{
    class EndHandler : ResultHandler<EndResult>
    {
        protected override void Handle(CodeflowInstance instance, EndResult result)
        {
            instance.End();
        }
    }
}